pCon.planner Plugin SDK  Version 8.16
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events
Public Member Functions | Properties | List of all members
X3g::Plugin::IBasketArticleItem Class Reference

Basket Article Item. More...

Inheritance diagram for X3g::Plugin::IBasketArticleItem:
Inheritance graph
[legend]

Public Member Functions

System::String^ GetManufacturerName (System::String^ pLanguage)
 Returns the manufacturer name in the given language. More...
 
System::String^ GetSeriesName (System::String^ pLanguage)
 Returns the series name in the given language. More...
 
System::String^ GetArticleNumber (BasketArtNumType pType)
 Returns the article number. More...
 
System::String^ GetDescription (BasketArtDescrType pType, System::String^ pLanguage)
 Returns the article description in the given language. More...
 
ReadOnlyCollection
< IBasketArticleFeature^ >^ 
GetFeatures (System::String^ pLanguage)
 Returns a list of article features in the given language. More...
 
- Public Member Functions inherited from X3g::Plugin::IBasketItem
System::String^ GetLabel (System::String^ pLanguage)
 Returns the item's label in the given language. More...
 

Properties

System::String^  ManufacturerId [get]
 The article's manufacturer id. More...
 
System::String^  SeriesId [get]
 The article's series id. More...
 
System::String^  CatalogImage [get]
 URI to the article's catalog image. More...
 
System::String^  GeneratedImage [get]
 URI to the article's generated image. More...
 
System::String^  ArticleImage [get]
 Returnes an URI to the default article image. More...
 
IBasketArticleCalculation^  Calculation [get]
 The article's calculation. More...
 
ReadOnlyCollection< IBasketItem^ >^ SubArticles [get]
 The sub-articles belonging to this article. More...
 
bool IsAlternatePosition [get]
 Returns if article item is an alternate position. More...
 
bool IsPseudoArticle [get]
 Returns if the given Article is pseudo flagged. More...
 
bool IsNonOfferArticle [get]
 Returns if the given Article is not offered. More...
 
bool IsNonOrderArticle [get]
 Returns if the given Article can not be ordered. More...
 
System::Nullable
< System::DateTime > 
PriceDate [get]
 If available this property returns the date of the provided price, otherwise null. More...
 
- Properties inherited from X3g::Plugin::IBasketItem
System::String^  Id [get]
 The item id. More...
 
BasketItemType Type [get]
 The item type More...
 
bool IsModel [get]
 Returns whether the item represents a model in the planning. More...
 
System::String^  Name [get]
 The user-defined name of the underlying entity. More...
 
System::String^  Url [get]
 The URL of the hyperlink attached to the underlying entity. More...
 
System::String^  ParentFolderPath [get]
 The path of the item's parent folder. More...
 
System::String^  ReferenceNumber [get]
 The item's reference number. More...
 
System::String^  Position [get]
 The item's position inside the basket. More...
 
IBasketItem^  Parent [get]
 The item's parent. More...
 
ReadOnlyCollection< IBasketItem^ >^ Children [get]
 The item's children. More...
 
ReadOnlyCollection
< IBasketArticleTextField^ >^ 
TextFields [get]
 A list of optional text fields. More...
 

Detailed Description

Basket Article Item.

Member Function Documentation

System::String X3g::Plugin::IBasketArticleItem::GetArticleNumber ( BasketArtNumType  pType)

Returns the article number.

System::String X3g::Plugin::IBasketArticleItem::GetDescription ( BasketArtDescrType  pType,
System::String^  pLanguage 
)

Returns the article description in the given language.

"" can be used as a fallback language. A fallback description is returned in this case.

ReadOnlyCollection< X3g::Plugin::IBasketArticleFeature^ > X3g::Plugin::IBasketArticleItem::GetFeatures ( System::String^  pLanguage)

Returns a list of article features in the given language.

"" can be used as a fallback language.

System::String X3g::Plugin::IBasketArticleItem::GetManufacturerName ( System::String^  pLanguage)

Returns the manufacturer name in the given language.

"" can be used as a fallback language. A fallback name is returned in this case.

System::String X3g::Plugin::IBasketArticleItem::GetSeriesName ( System::String^  pLanguage)

Returns the series name in the given language.

"" can be used as a fallback language. A fallback name is returned in this case.

Property Documentation

System:: String^ X3g::Plugin::IBasketArticleItem::ArticleImage
get

Returnes an URI to the default article image.

Depending on the product data settings and the used BasketGenerationFlags the CatalogImage or the GeneratedImage will be returned.

IBasketArticleCalculation^ X3g::Plugin::IBasketArticleItem::Calculation
get

The article's calculation.

System:: String^ X3g::Plugin::IBasketArticleItem::CatalogImage
get

URI to the article's catalog image.

System:: String^ X3g::Plugin::IBasketArticleItem::GeneratedImage
get

URI to the article's generated image.

bool X3g::Plugin::IBasketArticleItem::IsAlternatePosition
get

Returns if article item is an alternate position.

Alternate positions are excluded from total price calculation.

bool X3g::Plugin::IBasketArticleItem::IsNonOfferArticle
get

Returns if the given Article is not offered.

Tthis feature is not available for IBasketSetArticleItem.

bool X3g::Plugin::IBasketArticleItem::IsNonOrderArticle
get

Returns if the given Article can not be ordered.

Tthis feature is not available for IBasketSetArticleItem.

bool X3g::Plugin::IBasketArticleItem::IsPseudoArticle
get

Returns if the given Article is pseudo flagged.

Tthis feature is not available for IBasketSetArticleItem.

System:: String^ X3g::Plugin::IBasketArticleItem::ManufacturerId
get

The article's manufacturer id.

System:: Nullable< System:: DateTime> X3g::Plugin::IBasketArticleItem::PriceDate
get

If available this property returns the date of the provided price, otherwise null.

The only relevant parts of the DateTime structure are year, month, day

Tthis feature is not available for IBasketSetArticleItem.

System:: String^ X3g::Plugin::IBasketArticleItem::SeriesId
get

The article's series id.

ReadOnlyCollection< IBasketItem^>^ X3g::Plugin::IBasketArticleItem::SubArticles
get

The sub-articles belonging to this article.

The returned articles may not be real childs (hierarchically) of this article.